import defaultAnonymousPng from '@/assets/imgs/default_anonymous.png'; //头像
import defaultAvatarpng from '@/assets/imgs/default_avatar.png';
import defaultDepartmentpng from '@/assets/imgs/default_department.png'; //部门
import defaultEnterprisepng from '@/assets/imgs/default_enterprise.png'; //企业
import { UserOutlined } from '@ant-design/icons';
import { YmAvatar } from 'ym-design';

function YmAvatarGroupPage() {
  return (
    <div>
      <YmAvatar.Group
        size={68}
        shape="circle"
        maxCount={3}
        maxStyle={{ fontSize: '24px' }}
      >
        <YmAvatar>张一捷</YmAvatar>
        <YmAvatar>捷</YmAvatar>
        <YmAvatar icon={<UserOutlined />} />
        <YmAvatar src={defaultAnonymousPng} />
        <YmAvatar src={<img src={defaultAvatarpng} />} />
        <YmAvatar src={defaultDepartmentpng} />
        <YmAvatar src={defaultEnterprisepng} />
      </YmAvatar.Group>
    </div>
  );
}

export default YmAvatarGroupPage;
